package com.hzeport.bgs22emduty.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzeport.bgs22emduty.config.login.UserInfoDetailVO;
import com.hzeport.bgs22emduty.vo.ParamSmsTemplate.ParamSmsSaveVO;
import com.hzeport.bgs22emduty.vo.ParamSmsTemplate.ParamSmsTemplateListVO;
import com.hzeport.bgs22emduty.vo.ParamSmsTemplate.ParamSmsTemplateSaveVO;
import com.hzeport.bgs22emduty.vo.base.PageVO;
import com.hzeport.bgs22emduty.common.base.BaseResult;
import com.hzeport.bgs22emduty.common.base.BaseService;
import com.hzeport.bgs22emduty.entity.ParamSmsTemplate;

/**
 * 参数表-短信模板表：
此表中存储，各种类型的短信模板信息
 *
 * @author code generator
 * @date 2022-12-02 11:21:59
 */
public interface ParamSmsTemplateService extends BaseService<ParamSmsTemplate> {

    BaseResult<Page<ParamSmsTemplateListVO>> list(PageVO pageVO, UserInfoDetailVO userInfo);

    BaseResult delete(String id,UserInfoDetailVO userInfo);

    BaseResult<ParamSmsTemplateSaveVO> detail(String id);

    BaseResult saveData(ParamSmsTemplateSaveVO paramSmsTemplateSaveVO, UserInfoDetailVO userInfo) throws Exception;

    BaseResult< String> smsSwitch( ParamSmsTemplateSaveVO dto , UserInfoDetailVO userInfo );

    BaseResult saveZs( ParamSmsSaveVO dto , UserInfoDetailVO userInfo );
}
